package com.itheima.ManyToMany;

import com.itheima.bean.Crouse;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CrouseMapper {
    @Select("select c.* from crouse c left join stu_cr sc on c.id=sc.id where sc.id =id  ")
    public  List<Crouse> findByStudentId(Integer id) ;
}
